package com.wyh.blog.service.intf;

import com.wyh.blog.model.vo.request.AddBlogRequest;
import com.wyh.blog.model.vo.request.UpdateRequest;
import com.wyh.blog.model.vo.response.BlogDetailVo;
import com.wyh.blog.model.vo.response.BlogInfoVo;

import java.util.List;

public interface BlogInfoService {
    List<BlogInfoVo> getList();

    BlogDetailVo getBlogDetail(Integer id);

    boolean add(AddBlogRequest addBlogRequest);

    boolean update(UpdateRequest request);

    boolean delete(Integer id);
}
